# ###################################################################
# Settings for plonetheme.apkntheme are sepecified here				#
# This file should not be updated during an svn up					#
# Ideally, this should be a property sheet and changed TTW			#
#####################################################################
"""
Doctests for APKN Custom theme settings module - playing it safe 
with these settings
>>> PARAM_CONTENT_FILTER
'go'
>>> False in [ADA in COUNTRY_CONTEXT_MENU_ROOT.keys()\
						for ADA in ALLOWED_DASHBOARD_ACTIONS_ROOT]
False
>>> len(COUNTRY_CONTEXT_MENU) == len([len(CCM) == 6\
 for CCM in COUNTRY_CONTEXT_MENU])
True

>>> len(COUNTRY_CONTEXT_MENU_ROOT) == len([len(AMN) == 5 \
 for AMN in COUNTRY_CONTEXT_MENU_ROOT.items()])
)
""" 

from plonetheme.apkntheme import APKNThemeMessageFactory as _
from apkn.resource.interfaces import IResource
from apkn.resource.config import RESOURCESUBJECTS

# filter parameter for country folder types
PARAM_CONTENT_FILTER = "go"

#meta property test
COUNTRY_FOLDER_META = u'meta_country_code'

# number of itmes to show in recent item lists in country folders
RECENT_ITEM_COUNT = 10

# number of items to show in recent items lists at root level
RECENT_ITEM_COUNT_ROOT = 10

# Booleans to filter by either items recent cut off or all items
ITEMS_RECENT = 0
ITEMS_ALL = 1

#FEED ITEMS TO LOAD
FEED_ITEMS_COUNT = 10
FEED_ITEMS_COUNT_ROOT = 5

# News Feed URLs from African News Monitor
#placeholders: country, language
ANM_FEED_URL = u'http://emm.newsbrief.eu/rss?type=alert&id=%s&language=%s'
#placeholders: language, country
ANM_NEWS_URL = u'http://anm.newsbrief.eu/ANM/countryedition/AfricaNews/%s/%s.html'

DEFAULT_FEED_LANGUAGE = u'en'

CACHE_RSS_KEY_PARLIAMENTS = u"PARLIAMENTSFEED812380DHDAODOA"

ANM_PARL_NEWS_URL = u"http://anm.newsbrief.eu/ANM/filteredition/ParliamentNews/%s/%s.html"

ANM_PARL_FEED_URL = u"http://emm.newsbrief.eu/rss?type=filter&id=%s&language=%s"

#thematic sites items - id, text, title, link 
THEMATIC_SITES_MENU_ITEMS = [
	(u'lrp', _(u'APKN learning'), _(u'APKN Learning Resources Portal'), u'/lrp/'),
	(u'fpl',  u'APKN libraries' , _(u'APKN Federated Parliamentary Libraries'), u'http://fpl.apkn.org'),
	(u'drp',  u'APKN digital repositories' , _(u'APKN Federated Digital Repositories'), u'/dspace/xmlui/'),
	(u'anm',  u'APKN news monitor' , _(u'APKN news monitor'), u'http://anm.apkn.org'),
]


COUNTRY_RESOURCES_MENU_ITEMS = [
	(u'ppf', _(u'Parliamentary Profiles'), _(u'Parliamentary Profiles'),\
	u'/apex/country-folders/parliamentary-profiles'),
	(u'cdr',  u'Contact Directories' , \
	_(u'APKN Parliamentary Contact Directories'), \
	u'/apex/country-folders/parliamentary-contacts'),
	(u'wdr',  u'Website Directories' , _(u'APKN Website Directories'), \
	u'/apex/web-directory/search-resources'),
	(u'ors',  u'Online Resources' , _(u'APKN Online Resources'), \
	u'/apex/online-resources/search-resources'),
	(u'rbc',  u'Resources by Country' , _(u'APKN Resources by Country'), \
	u'/apex/'),
]

ANM_PARLIAMENT_FEEDS = [
	{'id':'PAPANM', 'title': _(u'PAP News') },
	{'id':'SADCANM', 'title': _(u'SADC News') },
	{'id':'ANMEALA', 'title': _(u'EALA News') },
	{'id':'ECOWASANM', 'title': _(u'ECOWAS News') },
	{'id':'NationalParliamentsANM', 'title': _(u'National Parliaments News') }
]

# DSpace Repository URL
REPOSITORY_URL = u'/dspace/xmlui/remoteview?CommunityIdentity=@@CONTEXT_TITLE'

REPOSITORY_FEED_URL = REPOSITORY_URL + u'&feed'

# DSpace Repository URL Root
REPOSITORY_URL_ROOT = u'/dspace/xmlui/'

# Country resources URL
RESOURCES_URL = u'/apex/web-directory?country=@@CONTEXT_ID'

# main reosources url
RESOURCES_URL_ROOT = u'/apex/web-directory/search-resources'

# Contacts directory URL
CONTACTS_DIRECTORY_URL = u'/apex/country-folders/@@CONTEXT_ID/parliamentary-contacts'

# online resources root
ONLINE_RESOURCE_URL_ROOT = u'/apex/online-resources/subject-view'

#profiles URL
PROFILES_URL = u'/apex/country-folders/@@CONTEXT_ID/profiles'

#Online resources country URL
ONLINE_RESOURCES_COUNTRY_URL = u'/apex/online-resources?country=@@CONTEXT_ID'

#parliamentary profiles root url
PARLIAMENTARY_PROFILES_ROOT_URL = u'/apex/country-folders/parliamentary-profiles'

#parliamentary profiles root url
PARLIAMENTARY_PROFILES_COUNTRY_URL = u'/apex/country-folders/@@CONTEXT_ID/parliamentary-profiles'

#country contacts root url
COUNTRY_CONTACTS_ROOT_URL = u'/apex/country-folders/parliamentary-contacts'

#country contacts country url
COUNTRY_CONTACTS_COUNTRY_URL = u'/apex/country-folders/@@CONTEXT_ID/parliamentary-contacts'

# web directories url root
WEB_DIRECTORIES_URL_ROOT = u'/apex/web-directories'

# Digital Libraries URL
LIBRARY_URL = u'http://@@CONTEXT_ID.apkn.org'

# Digital Library URL Root
LIBRARY_URL_ROOT = u'http://fpl.apkn.org/'

# Federated Libraries URL Root
FEDERATED_LIBRARIES_URL_ROOT = LIBRARY_URL_ROOT

#Country Library URL
COUNTRY_LIBRARY_URL = u'http://@@CONTEXT_COUNTRY_CODEfpl.apkn.org'

# Parliamentary directories URL root
DIRECTORIES_URL_ROOT = u'/apex/country-folders/search-contact-directories'

# Allowed URL Actions for Country Folder Filters
ALLOWED_DASHBOARD_ACTIONS = [u'ContactDirectory',
							u'WebsiteDirectory',
							u'QuestionsAndAnswers',
							u'DocumentRepository',
							u'DigitalLibrary',
							u'OnlineResources']

#removed dashboard actions
#u'NewsAndEvents',

ALLOWED_DASHBOARD_ACTIONS_ROOT = [u'ContactDirectories',
								u'WebsiteDirectories',
								u'DocumentRepositories',
								u'FederatedLibraries',
								u'OnlineResources',
								u'ParliamentaryProfiles']

#removed dashboard actions
#u'NewsAndEvents',

SECTION_TITLES_ROOT = {u'ContactDirectories':_(u'Contact Directories') ,
						u'WebsiteDirectories':_(u'Website Directories')  ,
						u'OnlineResources':_(u'Online Resources'),
						u'QuestionsAndAnswers':_(u'Questions and Answers')  ,
						u'DocumentRepositories':_(u'Document Repositories') ,
						u'DigitalLibraries':_(u'Digital Libraries') ,}


#Removed section Title
#u'NewsAndEvents':_(u'News and Events')

# ID, Title, URL, Lookup Path, Requires Login,
COUNTRY_CONTEXT_MENU_ROOT = {
u'ContactDirectories' : (u'ContactDirectories', _(u'Contact Directories'), DIRECTORIES_URL_ROOT , None, False),
u'DocumentRepositories' : (u'DocumentRepositories', _(u'Document Repositories'), REPOSITORY_URL_ROOT ,None, False),
u'FederatedLibraries' : (u'FederatedLibraries', _(u'Federated Libraries'), FEDERATED_LIBRARIES_URL_ROOT, None, False),
u'WebsiteDirectories' : (u'WebsiteDirectories', _(u'Website Directories'), RESOURCES_URL_ROOT, None, False),
u'OnlineResources' : (u'OnlineResources', _(u'Online Resources'), ONLINE_RESOURCE_URL_ROOT, None, False),
u'ParliamentaryProfiles' : (u'ParliamentaryProfiles', _(u'Parliamentary Profiles'), PARLIAMENTARY_PROFILES_ROOT_URL, None, False),
}

# Removed context menus
#u'NewsAndEvents' : (u'NewsAndEvents', _(u'News and Events'), u'?go=NewsAndEvents', None,False),


# Content Type Filters for Country Folders
TYPE_FILTERS = {u'ContactDirectory':u'mxmContacts',
				u'WebsiteDirectory':u'Resource',
				u'QuestionsAndAnswers':u'PoiIssue',
				u'DigitalLibrary':None,
				u'DocumentRepository':None,
				u'NewsAndEvents':None}

#title, link, resource_type for link or none, boolean show to anonymous
#@@CONTEXT_TITLE and @@CONTEXT_ID picked from country folder, check exists
COUNTRY_CONTEXT_MENU = [
						(_(u'Contacts Directory'), 
						CONTACTS_DIRECTORY_URL, 
						None, True, u'ContactsDirectory', False),
						
						(_(u'Document Repository'),REPOSITORY_URL,
						None, True, u'DocumentRepository', False),
						
						(_('Country Library'), COUNTRY_LIBRARY_URL, None, True, u'CountryLibrary', True),

						(_(u'Website Directory'),
						RESOURCES_URL, 
						None, True, u'WebsiteDirectory', False),
						
						(_(u'Questions and Answers'),
						u'?go=QuestionsAndAnswers', None, False, u'QuestionsAndAnswers', False),
						
						(_('Parliamentary Profiles'), PROFILES_URL, None, True, u'ParliamentaryProfiles', False),
						
						(_('Online Resources'), ONLINE_RESOURCES_COUNTRY_URL, None, True, u'OnlineResources', False),
						
]

# Removed context menu
#(_(u'News and Events'), u'?go=NewsAndEvents',
#None, True, u'NewsAndEvents'),

SECTION_TITLES = {u'ContactDirectory':_(u'Contact Directory'),
				u'WebsiteDirectory':_(u'Website Directory'),
				u'QuestionsAndAnswers':_(u'Questions and Answers'),
				u'DocumentRepository':_(u'Document Repository'),
				u'DigitalLibrary':_(u'Digital Library'),
				u'ParliamentaryProfiles':_(u'Parliamentary Profiles')
				}

#removed section titles
#u'NewsAndEvents':_(u'News and Events'),

# use the parents title where directories have same title
REPLACE_TITLE = [u'Directory']

# Resources Path
RESOURCES_PATH = '/Plone/apex/web-directory'

# Country Folders Path
COUNTRY_FOLDERS_PATH = '/Plone/apex/country-folders/'

# Country Folders Path
COUNTRY_FOLDERS_PATH_PROXIED = '/apex/country-folders/'


#recent item filters-each dict:[type filters, search method, i18n title]
# additional fields to show
RECENT_ITEM_FILTERS = \
[[(u'News',u'Event'),'HERE:',_(u'News and Events'),u'cf_news_box', 
[u'location', u'startDate', u'endDate'], _('News and Events')],
[(),'DSPACE_FEED:',_(u'Digital Repository'),u'cf_repository_box',
[u'publishDate'], _(u'Recent Items')],
[(u'Resource'),'LOOKUP:RESOURCES_PATH',_(u'Online Resources'),
u'cf_resources_box', [u'resourcelanguage', u'region', u'webaddress'], False]]

RECENT_ITEM_FILTERS_ROOT = \
[[u'news_events',(u'News',u'ATEvent'),'SEARCH:',_(u'News and Events'),u'cf_news_box',
[u'location', u'startDate', u'endDate'], _(u'News and Events')],
[u'document_repository',(),'SKIP:',_(u'Digital Repository'),u'cf_repository_box', 
[u'publishDate'], _(u'Recent Items')],
[u'resources',(u'Resource'),'LOOKUP:RESOURCES_PATH',_(u'Online Resources'),
u'cf_resources_box', [u'resourcelanguage', u'region', u'webaddress'] ,False]]


# number of seconds to cache expensive functions - 1 hour
CACHE_SECONDS_DEFAULT = 3600




#####################################################################
# APKN settings for various theme BrowserViews						#
#####################################################################
CACHE_SECONDS_FULLDAY = 60 * 60 * 24

# Error Codes captured by common exception view
PAGE_ERRORS = ['500']
NOT_FOUND_ERRORS = ['404', '403']

#UI CSS CLASSES - to force highlight of tabs
CURRECT_ACTIVE_APP = u'apkn-current-nav'

#Map Workspace Members to Groups - filters visible app workspaces
WORKSPACE_MAPPINGS = {u'DSPACE':u'DSpace_Editors', 
					  u'KOHA':u'Koha_Editors'}

# public webspaces tab definitions
# id, link content, link title, link address, link target
DF_TARGET = u'_self'
PUBLIC_SPACES = [
	(u'apkn-portal',u'APKN',_(u'African Parliamentary Knowledge Network'),u'/',DF_TARGET),
	(u'online-resources', u'ORP',_(u'APKN Online Resources'),u'/lrp/', DF_TARGET),
	(u'federated-repositories',u'FDR',_(u'Federated Document Repositories'),u'/dspace/xmlui/',DF_TARGET),
	(u'federated-libraries', u'FOL',_(u'Federated Libraries'),u'http://fpl.apkn.org', DF_TARGET),
	(u'africa-news-monitor', u'ANM',_(u'Africa News Monitor'),u'http://anm.apkn.org',u'_blank'),
]

#	(u'ldg', u'LDG',_(u'Legislative Drafting Guidelines'),u'/ldg/', DF_TARGET),

# private spaces tab definitions
# id, url, app name, title, target, test
PRIVATE_SPACES = [
	(u'cynin',u'/twg',_(u'working groups'), _(u'APKN Working Groups'),
	DF_TARGET, True),
	(u'apex',u'/apex/country-folders/goToMyCountry',
	_(u'my country folder'), _(u'Country folder with various content'),
	DF_TARGET, True),
	(u'koha',u'http://@@COUNTRY_CODE.apkn.org',_(u'my library'),
	 _(u'Country Digital Library'),DF_TARGET, True),
	(u'dspace',u'/dspace/xmlui',_(u'my digital repository'), 
	_(u'My Digital Repository'),DF_TARGET, True),
]

# Removed Public Workspace
#	(u'apkn',u'/',_(u'APKN Website'), _(u'Public APKN Website'),
#	DF_TARGET, True),


# Application id detection via REGEX Matches - For Some Cases
APPLICATION_RE = ((u'online-resources', u'/lrp[/]?.*$'),
				  (u'federated-repositories', u'/xmlui[/]?.*$'),
				  (u'twg', u'/(twg|cynin)[/]?.*$'),
				  )

#Default APPLICATION NAME
DEFAULT_APPLICATION_NAME = u"apkn-portal"

# Unified' context-aware search control - 'Unified' is ideal
# app_id, Search box name, Action URL, advanced search URL, base url
# base urls for search control actions
CYNIN_SEARCH_BASE 	= u'/twg/home/'
APKN_SEARCH_BASE 	= u'/'
DSPACE_SEARCH_BASE	= u'/dspace/xmlui/'

SEARCH_CONTROLS = {
	u'federated-repositories':{'inputName':u'query',
				'url':u'search', 
				'advanced':u'advanced-search',
				'method': u'POST',
				'baseurl':DSPACE_SEARCH_BASE},
	u'twg':{'inputName':u'SearchableText',
				'url':u'search', 
				'advanced':u'search_form',
				'baseurl':CYNIN_SEARCH_BASE},
	u'apkn-portal':{'inputName':u'SearchableText',
				'url':u'search', 
				'advanced':u'search_form',
				'baseurl':APKN_SEARCH_BASE},
	u'online-resources':{'inputName':u'SearchableText',
				'url':u'search', 
				'advanced':u'search_form',
				'baseurl':APKN_SEARCH_BASE},
}


# Custom Search Form Specs
CONTACT_SEARCH_PORTAL_TYPES = [u'mxmContacts',
							u'mxmContactsGroup', 
							u'mxmContactsPerson'
							u'mxmContactsOrganizations',
							'mxmContactsResource']

SEARCH_TEXT_PARAM = u'SearchableText'

SEARCH_PATH_PARAM = u'SearchPath'

SEARCH_BUTTON_PARAM = u'SearchButton'

#Parliamentary Profiles search listing
PARLIAMENTARY_PROFILES_TYPES = [u'Folder', u'Page']
PARLIAMENTARY_PROFILES_BASE_TYPES = [u'Page']

#Country contacts types
COUNTRY_CONTACTS_TYPES = [u'Folder', 
						  u'mxm Contacts', 
						  u'mxm Contacts Person', 
						  u'mxm Contacts Organization',
						  u'mxm Contacts Resource']

COUNTRY_CONTACTS_TYPES_BASE = [u'mxm Contacts', 
								u'mxm Contacts Person', 
								u'mxm Contacts Organization',
								u'mxm Contacts Resource']

# Working Groups Info Settings
TWG_ROOT = "/twg"
TWG_SPACES_ROOT = "twg/home"
# working Groups Menu
# each item id, title, address, links( activities/blogs/news&events)
TWG_MENU = [
		{'id':u'issues-workgroups',
		 'title':_(u'Issues Workgroups'),
		 'address':u'issues-workgroups',
		 'activities_link':u'activities',
		 'blogs_link':u'app_blog',
		 'news_events_link':u'app_calendar'
		},
		{'id':u'communities-of-practice',
		 'title':_(u'Communities of Practice'),
		 'address':u'communities-of-practice',
		 'activities_link':u'activities',
		 'blogs_link':u'app_blog',
		 'news_events_link':u'app_calendar'
		},
		{'id':u'apkn-working-groups',
		 'title':_(u'APKN Working Groups'),
		 'address':u'apkn-working-groups',
		 'activities_link':u'activities',
		 'blogs_link':u'app_blog',
		 'news_events_link':u'app_calendar'
		},
]

TWG_FEED_BASE_URL = u'search_rss'

TWG_FEED_PATH_ROOT = u'/SHINE/home'

TWG_FEED_PARAMETERS = [u'SearchableText',
				 u'Title',
				 u'Subject_usage:ignore_empty',
				 u'Description',
				 u'created:list:date',
				 u'created_usage',
				 u'pt_toggle',
				 u'portal_type:list',
				 u'Creator',
				 u'review_state:list',
				 u'submit',
				]
TWG_PARAMETER_DEFAULT_VALUES = {
								u'created:list:date':u'1970/02/01',
								u'review_state:list':u'published-anonymous'
								}

TWG_FEED_PORTAL_TYPES = [
				{ 'id' : u'iparliaments_news_feed',
				  'title': _(u'APKN Updates'),
				  'feed_address': u"http://www.parliaments.info/recentNewsFeed",
				  'params': {}
				},
				{ 'id': u'blog_feed',
				  'title': _(u'Blogs'),
				  'params': {
							  u'portal_type:list': u'Blog+Entry',
							  u'created:list:date':u'1970/02/01',
							  u'review_state:list':u'published-anonymous',
							  u'submit': u'Search',
							  u'created_usage': u'range:min',
							  u'pt_toggle': u'#'
							 }
				},
				{ 'id' : u'news_events_feed',
				  'title': _(u'News and Events'),
				  'params': {
								u'portal_type:list': u'Event',
								u'created:list:date':u'1970/02/01',
								u'review_state:list':u'published-anonymous',
								u'submit': u'Search',
								u'created_usage': u'range:min',
								u'pt_toggle': u'#'
							 }
				},
			 ]


# conference documentation settings - sponsors
# identity is the object id in Zope

# key - conference id, ('background image')
CONFERENCE_UI_SETTINGS = {
						'midrand-olp-2010':('green','bgCfgreen',),
						'evidence-based-legislation':('yellow','bgCfyellow',),
						'rome-library-working-group-dec-2009':('grey','bgCfgrey',),
						'02-isa-kigali-conference-march-2009':('blue','bgCfblue',),
						'03-apkn-cairo-conference-june-2008':('sand','bgCfsand',),
						'apkn-plenary':('red','bgCfred',),
}

# key - conference id, tuple of (id, title, url)
ALL_SPONSORS =  {'pap': ('pap', _('Pan African Parliament'), 'http://www.pan-africanparliament.org'),
				'un': ('un', _('United Nations'), 'http://www.un.org'),
				'rsa-parl': ('rsa-parl', _('Parliament of the Republic of South Africa'), 'http://www.parliament.gov.za'),
				'apkn': ('apkn', _('African Parliamentary Knowledge Network'), '/')}

CONFERENCE_SPONSORS = {
					'midrand-olp-2010': ('pap','un','rsa-parl','apkn',),
					'rome-library-working-group-dec-2009':  ('pap','un','rsa-parl','apkn',),
					'02-isa-kigali-conference-march-2009':  ('pap','un','rsa-parl','apkn',),
					'03-apkn-cairo-conference-june-2008': ('pap','un','rsa-parl','apkn',),
					'evidence-based-legislation': ('pap','un','rsa-parl','apkn',),
					'apkn-plenary': ('pap','un','rsa-parl','apkn',),
					  }


# javascript global variables
# tuples of name value - this will be json encoded
JAVASCRIPT_GLOBALS = (
						('guidelines_example', _('view example')),
						('guidelines_expand_all', _('expand all examples')),
						('guidelines_collapse_all', _('collapse all examples')),
					 )


# Country Resources Content Filter
# Each source - source path, source type (RSS, Catalogued Folder)
# Browse List is optional and makes sense for Resources
# Browse List URL
# Lookup container
RESOURCES_SOURCE_TYPE_RSS = u"RSS"
RESOURCES_SOURCE_TYPE_CATALOG = u"CATALOG"
RESOURCES_RESULTS_LIMIT = 50

COUNTRY_RESOURCES_SORT_KEY_MAPPINGS = \
						{u'resourcesubject': RESOURCESUBJECTS,
						}

COUNTRY_RESOURCES_CONTENT_SOURCES = [
	{u'title': _('Web Directory'),
	 u'source_url': u'/Plone/apex/web-directory',
	 u'final_url': None,
	 u'final_url_parts': u'country=@@CONTEXT_ID',
	 u'source_type': RESOURCES_SOURCE_TYPE_CATALOG,
	 u'extra_search_query': {u'object_provides': IResource.__identifier__, 
	 u'resourcecountry': u'@@META:id',
	 u'sort_on': u'resourcesubject'},
	 u'group_on': u'resourcesubject',
	 u'verbose_title': False,
	},
	{u'title': _('Online Resources'),
	 u'source_url': u'/Plone/apex/online-resources',
	 u'final_url': None,
	 u'final_url_parts': u'country=@@CONTEXT_ID',
	 u'source_type': RESOURCES_SOURCE_TYPE_CATALOG,
	 u'extra_search_query': {u'object_provides': IResource.__identifier__,
	 u'resourcecountry': u'@@META:id',
	 u'sort_on': u'resourcesubject'},
	 u'group_on': u'resourcesubject',
	 u'verbose_title': False,
	},
	{u'title': _('Parliamentary Profiles'),
	 u'source_url': None,
	 u'final_url': PARLIAMENTARY_PROFILES_COUNTRY_URL,
	 u'source_type': RESOURCES_SOURCE_TYPE_CATALOG,
	 u'extra_search_query': {u'Type': PARLIAMENTARY_PROFILES_BASE_TYPES},
	 u'verbose_title': False,
	},
	{u'title': _('Contact Directories'),
	 u'source_url': None,
	 u'final_url': COUNTRY_CONTACTS_COUNTRY_URL,
	 u'source_type': RESOURCES_SOURCE_TYPE_CATALOG,
	 u'extra_search_query': {u'Type': COUNTRY_CONTACTS_TYPES_BASE },
	 u'verbose_title': True,
	}
]

# Reference material Types
REFERENCE_MATERIAL_TYPES = [u'Section', 
							u'Hierarchical Document', 
							u'Page', 
							u'Tabbed Subpages',
							u'Glossary definition',
							u'Link',
							u'Resource']
# Reference Material URLs
REFERENCE_MATERIAL_PATH = "/Plone/lrp/"

# Country Resources Content
RESOURCES_CONTENT_PATH = "/Plone/apex/"
RESOURCE_CONTENT_TYPES = [u'Resource',
						  u'Resource Folder'
						  ]

# Context Title Spece
# Spec to determine whether a context title should be shown for an object
CONTEXT_TITLE_SECTIONS = \
[
	{u'types': COUNTRY_CONTACTS_TYPES_BASE,
	 u'path': COUNTRY_FOLDERS_PATH,
	 u'depth': 1,
	},
	{u'types': PARLIAMENTARY_PROFILES_BASE_TYPES,
	 u'path': COUNTRY_FOLDERS_PATH,
	 u'depth': 2,
	},
	{u'types': REFERENCE_MATERIAL_TYPES,
	 u'path': REFERENCE_MATERIAL_PATH,
	 u'depth': 1,
	},
	{u'types': RESOURCE_CONTENT_TYPES,
	 u'path': RESOURCES_CONTENT_PATH,
	 u'depth': 1,
	}
]
